When properly configured, LFNit! can be tailored to backup a particular folder and then exit, or backup a particular folder and then revert to normal data entry. LFNit! can be run from a DOS shell or from a shortcut with parameters to make it run completely automatically. This is very useful for performing conversions automatically or on machine start up (by making the short cut an entry in the Start Up folder).
Usage:
lfnit [options] folder /A /G [[options] folder2 /A /G ...] [/E]
Where [options] is zero or more of:
<folder> |
The starting point for LFNit's output. Where omitted, LFNit!
assumes the current folder, but this can be unpredictable unless you run LFNit! from a
shortcut. Long filenames should be entered with double quotes e.g. c:\> lfnit "c:\Program Files" [Enter] |
/# | Limits the number of levels of folders that LFNit!
descends into to find long filenames. Eg /1 will only look at the first folder level. A
value of 0 is equivalent to a value of 255 (ie. all levels) Default: All levels (255) |
/A | Adds a restoration entry to the restoration list. A complete restoration entry consists of a start folder, batch file name (/B=) and folder depth (/#, /I or /X). The /A must be preceded by at least a start folder |
/B=filename | Specifies the name of the batch file to write to.
For long filename folders, include the entire parameter in double quotes
e.g. lfnit.exe "/b=c:\my very long filename.bat" Default: LFNrenew.bat in the start folder |
/C=exclude folder | Adds a folder name to the list of folders to
exclude from long filename processing. For long filename folders, include
the entire parameter in double quotes e.g. lfnit.exe "/c=c:\Recycled" "/c=c:\Program Files" |
/D | Enables debug mode. Default: disabled |
/E | Exit after completion. This is normally used to exit LFNit! after all threads of execution have finished. It is commonly used in Windows StartUp folders or login scripts to backup long filenames on all hard disks as the machine starts |
/G | Go! Starts the backup process for the specified list of restoration entries. If this option is omitted then LFNit! will simply use any command line parameters provided as defaults (unless /L= has been used to load a default restoration list) |
/I | Includes all subfolders (default) (same as /255) |
/L=<filename> | Loads a restoration file |
/X | Excludes all subfolders (same as /1) |